﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace University.Workshop.Model
{
    [Table("MedicalSupplies")]
    public class MedicalSupplies
    {
        
        [Column(Order = 0)]
        public string MedicalSuppliesId { set; get; }
        [Column(Order = 1)]
        public string ItemName { set; get; }
        [Column(Order = 2)]
        public string Lot { set; get; }
        [Column(Order = 3)]
        public string ExpirationDate { set; get; }
        [Column(Order = 4)]
        public int QuantityAvailable { set; get; }

        public MedicalSupplies() { }

        public MedicalSupplies(string itemName, string itemId, string lot, string expirationDate, int quantity)
        {
            this.ItemName = itemName;
            this.MedicalSuppliesId = itemId;
            this.Lot = lot;
            this.ExpirationDate =expirationDate;
            this.QuantityAvailable = quantity;

        }

    }
}
